<?
$map = $this->map
?>

<h1><?= $map['title'] ?></h1>
<h1>Date start: <?= $map['datestart']->format('Y-m-d') ?></h1>
<h1>Date end: <?= $map['dateend']->format('Y-m-d') ?></h1>
<h1>Price: <span style="color:orange;font-size: 20px;"><?= $map['price'] ?> piastres</span></h1>

<form action="" method="post">
    <input type="hidden" name="map" value="<?= $map['id'] ?>"/>
    <input type="submit" value="Buy"/>
</form>